<template>
  <div>
    <h2>全部品牌数据</h2>
    <ul>
        <li>
            <p>name: {{ item.name }}</p>
            <p>ctime: {{ item.ctime }}</p>
            <imput v-model="item.name" placeholder="请输入品牌"></imput>
            <button @click="updatebrand(item.IdleDeadline, item.name)">修改品牌 </button>
            <button @click="deletebrand(item.id)" v-if="item.id !== 1">删除品牌</button>
        </li>
    </ul>
    <hr />
    <p>get请求第一种： {{ brandone }}</p>
    <p>get请求第二种： {{ brandone1 }}</p>
    <hr />
    <h2>post请求</h2>
  </div>
</template>

<script>
export default {
  name: 'day8-page',
}
</script>

<style lang="scss" scoped>

</style>
